From: Adel Gadllah Date: Mon, 18 Feb 2013 20:56:21 +0000 (+0100) Subject: messageTray: Animate the context menu X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4763 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b292384380a9b9ce65408c6574df7441bd0f4b91;p=gnome-shell.git messageTray: Animate the context menu Use animation for opening and closing the menu. --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 57ab243be..dc182d897 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1766,11 +1766,11 @@ const MessageTray = new Lang.Class({ this._grabHelper.grab({ actor: this._contextMenu.actor, grabFocus: true, onUngrab: Lang.bind(this, function () { - this._contextMenu.close(); + this._contextMenu.close(BoxPointer.PopupAnimation.FULL); this._unlock(); }) }); - this._contextMenu.open(); + this._contextMenu.open(BoxPointer.PopupAnimation.FULL); }, close: function() {